home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / fsymlink.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Fsymlink(2)               Oct. 7, 1991                Fsymlink(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Fsymlink - create a symbolic link to a file
  7.  
  8. SYNOPSIS
  9.      LONG Fsymlink( char *oldname, char *newname );
  10.  
  11. DESCRIPTION
  12.      Fsymlink creates a new symbolic link (a "soft link") for the
  13.      file  currently named oldname.  If the Fsymlink call is suc-
  14.      cessful, then after the call the file may be referred to  by
  15.      either  name.  A  call  to  Fdelete on the new name will not
  16.      affect the existence of the file, just of the symbolic link.
  17.      A  a  call  to  Fdelete  with the name oldname will actually
  18.      delete the file, and future  references  with  newname  will
  19.      fail.
  20.  
  21.      Unlike hard links, symbolic links may be made between  files
  22.      on  different  devices  or even different types of file sys-
  23.      tems.
  24.  
  25. RETURNS
  26.      0 on success
  27.  
  28.      EINVFN if the file system does not allow symbolic links
  29.  
  30.      An appropriate error code if the new symbolic link cannot be
  31.      created.
  32.  
  33. SEE ALSO
  34.      Flink(2), Freadlink(2), Frename(2)
  35.  
  36. BUGS
  37.      No check is made for the existence of the  file  named  old-
  38.      name; this could be construed as a feature.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.